#-*- coding:utf-8 -*-

# if __name__ == '__main__':
#     print "hello,world"

import re

text = "10/15/99"

m = re.match("(\d{2})/(\d{2})/(\d{2,4})", text)

if m:
    print m.group(1,2,3)


